<?php if($sw == 1):?>
<b class="buttonS bGreen">SI</b>
<?php else:?>
<b class="buttonS bRed">NO</b>
<?php endif;?>